-- GENERATED SPELL FOR [Shalassi Talonguard] --


function spell0_18454(pUnit, Event) --@Pierce Armor,n/a--
pUnit:FullCastSpellOnTarget(6016,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18454', 20000, 1)
end

function Sorts_18454(pUnit, Event)
local choix_sorts_18454 = math.random(0, 0)
if choix_sorts_18454 == 0 then
pUnit:RegisterEvent('spell0_18454', 1, 1)
end
end

function mob18454_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18454', math.random(1500, 3000), 1)
end

function mob18454_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18454_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18454_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18454, 1, 'mob18454_Action')
RegisterUnitEvent(18454, 2, 'mob18454_Leave')
RegisterUnitEvent(18454, 3, 'mob18454_Kill')
RegisterUnitEvent(18454, 4, 'mob18454_Die')
